package com.elink.enginerring.subject.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.elink.enginerring.common.BaseCo;
import com.elink.enginerring.subject.entity.SubjectCourse;
import com.elink.enginerring.video.entity.Course;

public interface SubjectCourseMapper {
    int deleteByPrimaryKey(String catalogId);

    int insert(SubjectCourse record);

    int insertSelective(SubjectCourse record);

    SubjectCourse selectByPrimaryKey(String catalogId);

    int updateByPrimaryKeySelective(SubjectCourse record);

    int updateByPrimaryKey(SubjectCourse record);
    
	List<Course> selectList(@Param("catalogId")String catalogId,@Param("co")BaseCo co);

	int selectCount(@Param("catalogId")String catalogId,@Param("co")BaseCo co);
	
	List<Course> selectListByCatalogId(@Param("catalogId")String catalogId,@Param("co")BaseCo co);

	int selectCountByCatalogId(@Param("catalogId")String catalogId,@Param("co")BaseCo co);
	
	void insertBatch(List<SubjectCourse> fdc);
}